package per.jdz.demo.domain.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import com.mybatisflex.annotation.Column;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 泵站运行状况表实体类
 */
@Table("jh_pump_r")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PumpRecord {

    /**
     * 站点编码
     */
    @Id
    @Column("prjnmcd")
    private String prjnmcd;

    /**
     * 采集时间
     */
    @Id
    @Column("clltm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date clltm;

    /**
     * 站内ab相电压
     */
    @Column("ppuab")
    private BigDecimal ppuab;

    /**
     * 站内bc相电压
     */
    @Column("ppubc")
    private BigDecimal ppubc;

    /**
     * 站内ca相电压
     */
    @Column("ppuca")
    private BigDecimal ppuca;

    /**
     * 站内a相电流
     */
    @Column("ppia")
    private BigDecimal ppia;

    /**
     * 站内b相电流
     */
    @Column("ppib")
    private BigDecimal ppib;

    /**
     * 站内c相电流
     */
    @Column("ppic")
    private BigDecimal ppic;

    /**
     * 站内有功功率
     */
    @Column("ppapwr")
    private BigDecimal ppapwr;

    /**
     * 站内无功功率
     */
    @Column("pprpwr")
    private BigDecimal pprpwr;

    /**
     * 站内功率因数
     */
    @Column("ppcos")
    private BigDecimal ppcos;
}